package edu.tyut.game.logic.network

import edu.tyut.game.logic.model.User
import edu.tyut.game.logic.model.WebResult
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.POST

interface MailService {
    @POST("email/sendEmail")
    fun sendMail(@Body user: User): Call<WebResult<String>>

    @POST("email/sendRetrievePasswordEmail")
    fun sendRetrievePasswordEmail(@Body user: User): Call<WebResult<String>>
}